﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using  System.Threading;
using System.Threading.Tasks;

namespace CommunicationLib
{
    /// <summary>
    /// 接口返回事件参数
    /// </summary>
    public class ApiCallBackEventArgs:EventArgs
    {
        public ApiCallBackEventArgs(byte[] data, int length)
        {
            this.data = data;
            this.length = length;
        }

        public readonly byte[] data;

        public readonly int length;
    }

    public delegate void ApiCallBack(ApiCallBackEventArgs param);
}
